SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '523145158936ddccbb56921bf3a95e557753a729df13605212fbf9c18975f0df' 
  AND token = '9iA1/819feLsn1LWmRTOwcnG5EyeY3xyaLfKmY/y9YU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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