SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ecc426ae74a8f828d84f3bea35d407ea3195219569810dfc9cd00f050050c63' 
  AND token = 'RTtGurUIAI2W/d/CRdMD99nJnFr2xuitV7SyX981gCo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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