SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ec6d8cabd2a83f984f314e6b127609898c03b24f461866f4cd41304d420f321' 
  AND token = 'Emj9JY//T0yfMyjWUJEm1PzyPiEd0dRu0eSsbVxdeI0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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