SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aef4d6b818f42f4c1a58f25cdc28d4bd9da140e9477c34ffd6ebde2697c9950e' 
  AND token = 'qTnPM/2Kuuh1MTuSAcBcMp9hXh/I/GI9NBeqlk+dl4c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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