SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '252af378063852b912a331e36725d17df1f9f3fb0a131fecde326eb4e3cbadd6' 
  AND token = 'koPKJt7fXAVFbGNiXX8ZFTuR7+iT+f0MZkNT8jHt/ys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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