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

Query time 0.00023

JSON explain

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