SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e3480f47239cc814ee622ccafb091e1c8d46e0214b7c899755ac7237df22e2f3' 
  AND token = 'g84dCg1qggFfnPOFthQzk67jXSSTIVPd7I1o9el3I/M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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