SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b3c20221bd8a8e25c4e8aa43f3b8112e33293db10503668639ca5a7df30af916' 
  AND token = 'whupsNMfYkDzcw0Pyou+5sc5harVZl1V1asxSIQdON4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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