SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23a4b244a4c12e7529e86d766e5c9fe75ac00f27965c00b8e196bf74a37f496d' 
  AND token = '6dLVw9dOiiMGLgM15amn37+Bo+WhyD+5Zyd/OFoac8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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