SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '06bd702017d99adf42fce9d8276a404f2aa7bca93d43dab71d8c41e40608526a' 
  AND token = 'i0b1GWT9qzS73zYV/z2RWcfvz1unVjoicmS0iJJg4uQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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