SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e5a3f3c9df3aff43c96c273623d749d2458bd6d5b2a089df4e6d7037a9b13c9' 
  AND token = 'ePy6YBAQICUjZ2LPTht3Otmt/d9OnGhwQfFdtp8aqy8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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