SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a127502e8427529ed39e014d487fe480ad6b0eaac95e773edb9f12567c5b621c' 
  AND token = '+UbQe1Fj5hY1ei79VblZttvnxLZFTghmq05POSvG2HM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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