SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd14f9032e9d5a2661f815b1207cb3d0c8ff917853ec7f3d9e464b286a88eef' 
  AND token = 'tZ1BYOex5Xf//5GJzXggxtLxN0eOQm1VW3O0RrVXK4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}