SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12b40dcfe089626036a18a76dea0219de54ca3c812057359f077ab393c836cd5' 
  AND token = 'fEEz1FGa8/TaIcb5V3XAipaoaPI89Z0WYvg/4ZeEeEI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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