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

Query time 0.00059

JSON explain

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