SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f18e61ffcbb5e7f640057017efa50cffddbad8ca4350c5da4d182333b1e8d067' 
  AND token = 'lZ+6I9fb/2lUUeyrZ6D9XxPASiaqO8zNdTCP/8pBMTs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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