SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6f88f51f722f90694858e814701dbf2909f475b6654b3f2f061da4d0bc30cb6' 
  AND token = 'AoCj6TO97GVDrIpI5UVNCttJFlnHN279YDKMXXfEg9o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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