SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb642f12ef06bc4bc3a5b7369d555886ece4bebdc493d6b571b4a3e33669331b' 
  AND token = 'UprP87vzjhUdqBQitNihYudde5mne9cX4UQFskfA4IQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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