SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5dd5c67b1237dc8bfc9a22e78bb174cfbc8a2e41e7cf5c7c5b60ce03c0635c7' 
  AND token = 'fFbU1WnBagS0uX7ZICc637P5vB17Ebp+thDYdb+srJc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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