SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '399191729068d970d8e691aa15e5f0dd10a1e12d71ce32f9b691930588698b4e' 
  AND token = 'AJ7VH8KPh4ZMWpYjhV0o2R5zXqh7IJVRgPwOMTSPVcI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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