SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e19aae900e3695d99f30a14a833670d3c427811f95b31bd0b8fc51d29306512' 
  AND token = 'prIwSSAm3JkwmbbN26JalhClxMhiuGju9IjkHmfCGsc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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