SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c7a80b7c782f0d3da74694df65169254d358178a2a4540762d8933ec3eea2b6' 
  AND token = '0cAH3QL6RiP9UnQej+mobXfJskOJOeI7y8YxdoZBuDQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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