SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caaec2bef8ce2d4161cf5d4f299112466892da99f1df9f65e577b7d025fb03be' 
  AND token = 'l2C/P1LO2C34hKPOiFxl2F+tOcrSn2To3rdA0Jg8t4s=' 
  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"
    }
  }
}