SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb5b7e3375d0667f089801bc73ef938ed1fb31ee9f1bc7b92934d97c12b00a6c' 
  AND token = 'qfuTIZ8UKFZ37GBMi1xUEirTHaIgrW5GSvKlGi/OwSM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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