SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d12b8b38fde4abbc9c8f7e898400d2f64d589c832bd7084aa1b5cccd2c1d16c' 
  AND token = 'qr9gKQypM8ucRctqfN1WIeGp2TAmTpnwfo0GWV5hj4E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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