SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9045387b9928f1b50a2f6599477f0e64eb18b4aa692d933e64668a82644618dc' 
  AND token = 'ZJdEQnE2pOEvPhg2xXipMnVOZzukUN3v6dScxBux8Gg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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