SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb3ee53712d092e5a54d2b29af18da406a6a5d6a89164e836daf6d89e3091e2e' 
  AND token = 'lgyLKB16W4sx5H5LBYpAHGLebTJy46kbkSh0XIBH3Rs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}