SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04ae1302bfefb08599c885401b56bd2ea5c332518532be69c33c57d5f6b1d0f4' 
  AND token = 'TL1MvE8FgqGx/7OVxHT+lDpciPrPWkuD6CCP1p9CRz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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