SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db4d99dd7f09f3e975708e01ca174363f895094ba6368778ec1b2a70e33fdea5' 
  AND token = 'QyULn9S8+39nOskB5mTta82BrCEyTuRuARCCUllyRwA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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