SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40ef2aab2698996eda380e3a4fce6d85640455429376407eff6c757c2781e140' 
  AND token = 'SDuoKytlXhgM+sPgUvyfoGwWuF18t2J7Bhb4I2rPrbo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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