SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1b049f767b082351bc4b3d4619bbaf74ebb527310772ead0288441f2efcb0a9' 
  AND token = 'ruEabd3ggXU58sofSnBEpo/YBKXSqObOGswxRtbgLL0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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