SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab995a745d2a5198820a8a5d046d82dd788bca7e9ebf40003952d26216274c06' 
  AND token = 'F+zpiwjp6dvhjdc7KljfiF1aSmaLmH/NbamScqTl7n8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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