SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50d97688681dfa2770f5b49733390370deea735908fba8a89c94100276253da9' 
  AND token = 'T7p1HIrWBVmuzqFh8McaazqUyhkHyKeR6YF+mIjLX6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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